import React from 'react'
import "./index.scss"
import {historyData} from "../constant.jsx";



export default function History() {
    return (
        <div className="container">
            {historyData.sections.map((section, sectionIndex) => (
                <React.Fragment key={sectionIndex}>
                    <div className="title">
                        {section.title}
                    </div>
                    {section.content.map((item, index) => (
                        <div key={index} className="content">{item}</div>
                    ))}
                </React.Fragment>
            ))}
        </div>
    );
}